package cn.ad.param;

import com.fasterxml.jackson.annotation.JsonIgnore;

import java.util.HashMap;
import java.util.Map;

/**
 * AdView 创意查询条件
 * Created by Administrator on 2016/7/28.
 */
public class AdViewOrigQuery {

    private String originalityId;

    public String getOriginalityId() {
        return originalityId;
    }

    public void setOriginalityId(String originalityId) {
        this.originalityId = originalityId;
    }

    /**
     * map包装查询条件,使用@JsonIgnore注解标注字段或方法不进行序列化
     * @return
     */
    @JsonIgnore
    public Map<String,Object> getSearchMap(){
        Map<String,Object> map = new HashMap<String,Object>();
        map.put("originalityId",originalityId);
        return map;
    }
}
